package com.edu.schoolforum.service;

import com.edu.schoolforum.pojo.ImgUrl;
import com.edu.schoolforum.pojo.PhotoUrl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tao
 * @date 2021/8/28 11:15
 */
@Service
public interface PhotoService {
    /**
     * 插入轮播图
     */
    int insertPhoto(ImgUrl imgUrl);
    /**
     * 查询轮播图
     */
    List<PhotoUrl> selectImgUrl();
    /**
     * 根据id删除轮播图片
     */
    int deletePhoto(Integer id);
}
